﻿using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wuther.Entities.Models;
using Wuther.Util.Models;

namespace Wuther.Util.Profiles
{
    public class ArticleProfile : Profile
    {
        public ArticleProfile()
        {
            CreateMap<Article, ArticleDto>();

            CreateMap<ArticleDto, Article>();

            CreateMap<Article, ArticleFullDto>();

            CreateMap<ArticleFullDto, Article>();

            CreateMap<ArticleAddDto, Article>();
        }
    }
}
